﻿using Dapper_Core.Basic;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace Dapper_Core.Table
{
    public class WorkflowRecord : BaseModel
    {
        /// <summary>
        /// Guid主键，主键必须加[Key]特性，若想对名为Id的列赋值必须加[Required]特性
        /// </summary>
        [Key]
        public string WorkflowRecordId { get; set; }
        public string WorkflowTaskId { get; set; }
        public string WorkflowTransitionCode { get; set; }
        public string Approver { get; set; }
        public DateTime? ApprovedDate { get; set; }
    }
}
